/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package reader;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/**
 *
 * @author Administrator
 */
public class TransFileReader {

    public String readPath(String path){
        String res="";
        try{
        BufferedReader in = new BufferedReader(new FileReader(path));
            String str;
            while ((str = in.readLine()) != null) {
                res+=str;
            }
            in.close();
    } catch (IOException e) {
      }
        return res;
    }
}
